/**
 *上海交大-鹏越惊虹
 */

package org.infosec.lc.exercises.threads;

import java.io.IOException;
import java.io.UnsupportedEncodingException;

/**  
 * @Title: Thread1.java
 * @Package org.infosec.lc.exercises.threads.Thread1
 * @Description: TODO
 * @author 林超 
 * @date Apr 27, 2013 4:45:23 PM
 * @version V1.0  
 */
public class Thread1 {

	/**
	 * @Title: main
	 * @Description: TODO
	 */
	public static void main(String[] args) {
//		Pmcraven p = new Pmcraven();
//		p.start();
		
		String s = "吸123456789";
		System.out.println(s.length());
			System.out.println(s.getBytes().length);
		System.out.println(java.nio.charset.Charset.defaultCharset().toString());
	}
	
}

class Pmcraven extends Thread {

	@Override
	public void run() {
		System.out.println("A");
		try {
			System.out.println(System.in.read());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
/**Code End*/